package com.shtel.paas.monitorcenter.config.management.alarm.config.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.shtel.paas.monitorcenter.config.management.alarm.config.entity.AlarmConfigEntity;
import com.shtel.paas.monitorcenter.config.management.alarm.config.entity.AlarmRulesEntity;
import com.shtel.paas.monitorcenter.config.management.alarm.config.entity.AlarmRulesParam;

public interface warningConfigDao {
	List<AlarmConfigEntity> selectAll(@Param(value = "monitoringIndex") String monitoringIndex);

	List<String> selectMonitorIndex(@Param(value = "monitoringIndex") String monitoringIndex);

	int updateConfig(AlarmRulesEntity param);

	int insertConfig(AlarmRulesParam param);

	int deleteConfig(@Param(value = "desc") String desc);

	List<AlarmRulesParam> selectMonitorIndexbyDesc(@Param(value = "monitoringIndex") String desc);

	int insertAlarmRules(AlarmRulesParam param);

}
